Occurs when the collection changes.
public event EventHandler<AnnNotifyCollectionChangedEventArgs> CollectionChanged
Public Event CollectionChanged As EventHandler(Of AnnNotifyCollectionChangedEventArgs)
public void addCollectionChangedListener(AnnNotifyCollectionChangedListener listener)
public void removeCollectionChangedListener(AnnNotifyCollectionChangedListener listener)
public:
event EventHandler<AnnNotifyCollectionChangedEventArgs^>^ CollectionChanged
The event handler receives an argument of type AnnNotifyCollectionChangedEventArgs containing data related to this event. The following AnnNotifyCollectionChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Gets the action that caused the event. |
NewItems | Gets the list of new items involved in the change. |
NewStartingIndex | Gets the index at which the change occurred. |
OldItems | Gets the list of items affected by a Replace, Remove, or Move action. |
OldStartingIndex | Gets the index at which a Move, Remove, or Replace action occurred. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document